<template>
	<view :class="vi_pageSize">
		<vi-notify :top="topfix" ref="vi_notify"></vi-notify>
		<module-loading ref="vi_loading" :loading="vi_loading" :loadingMask="vi_loadingMask"></module-loading>
		<vi-headbar goback>
			<view slot="right">
				响应式
				<text class="response">开启</text>
				<text class="noresponse color-warning">关闭</text>
			</view>
			{{vi_pageTitle}}
		</vi-headbar>
		<view class="docTable">
			<view class="th">
				<view>属性名</view>
				<view>类型</view>
				<view>默认值</view>
				<view>描述</view>
			</view>
			<view class="tr">
				<view>type</view>
				<view>String</view>
				<view>primary</view>
				<view>主题色</view>
			</view>
			<view class="tr">
				<view>color</view>
				<view>String</view>
				<view>无</view>
				<view>自定义主题色</view>
			</view>
			<view class="tr">
				<view>textColor</view>
				<view>String</view>
				<view>无</view>
				<view>标题自定义色</view>
			</view>
			<view class="tr">
				<view>borderColor</view>
				<view>String</view>
				<view>无</view>
				<view>固定边框色</view>
			</view>
			<view class="tr">
				<view>borderType</view>
				<view>String</view>
				<view>无</view>
				<view>边框类型</view>
			</view>
			<view class="tr">
				<view>borderBox</view>
				<view>Boolean</view>
				<view>false</view>
				<view>盒模型更改为borderBox</view>
			</view>
			<view class="tr">
				<view>backgroundColor</view>
				<view>String</view>
				<view>无</view>
				<view>固定背景颜色</view>
			</view>
			<view class="tr">
				<view>radius</view>
				<view>String, Number, Array</view>
				<view>square</view>
				<view>圆角，可选square、circle，以及数值带单位。可使用数组单独控制4个角</view>
			</view>
			<view class="tr">
				<view>size</view>
				<view>String</view>
				<view>md</view>
				<view>预定义尺寸</view>
			</view>
			<view class="tr">
				<view>plain</view>
				<view>Boolean</view>
				<view>false</view>
				<view>镂空</view>
			</view>
			<view class="tr">
				<view>width</view>
				<view>Number, String</view>
				<view>无</view>
				<view>自定义宽</view>
			</view>
			<view class="tr">
				<view>height</view>
				<view>Number, String</view>
				<view>无</view>
				<view>自定义高</view>
			</view>
			<view class="tr">
				<view>borderWidth</view>
				<view>Number, String</view>
				<view>1</view>
				<view>边框宽，默认单位px</view>
			</view>
			<view class="tr">
				<view>spaceInside</view>
				<view>Number, String, Array</view>
				<view>无</view>
				<view>自定义内边距，优先于size预定义，可定义四个方向边距</view>
			</view>
			<view class="tr">
				<view>fontSize</view>
				<view>String</view>
				<view>无</view>
				<view>自定义文字尺寸，需带单位</view>
			</view>
			<view class="tr">
				<view>bold</view>
				<view>Boolean</view>
				<view>false</view>
				<view>加粗</view>
			</view>
			<view class="tr">
				<view>alignLeft</view>
				<view>Boolean</view>
				<view>false</view>
				<view>居左</view>
			</view>
			<view class="tr">
				<view>shadow</view>
				<view>String</view>
				<view>无</view>
				<view>阴影，格式同css的box-shadow</view>
			</view>
			<view class="tr">
				<view>disabled</view>
				<view>Boolean</view>
				<view>false</view>
				<view>禁用</view>
			</view>
			<view class="tr">
				<view>readOnly</view>
				<view>Boolean</view>
				<view>false</view>
				<view>只读</view>
			</view>
		</view>
		
		<view class="p-sm">
			<view class="py-sm">
				基本使用：{{`&lt;vi-tag>文字内容&lt;/vi-tag>`}}
			</view>
			<view class="py-sm">
				<vi-tag size="sm" class="mr-e0p5">尺寸小</vi-tag>
				<vi-tag size="md" class="mr-e0p5">尺寸中</vi-tag>
				<vi-tag size="lg" class="mr-e0p5">尺寸大</vi-tag>
			</view>
			<view class="py-sm">
				<vi-tag type="primary" class="mr-e0p5">主题1</vi-tag>
				<vi-tag type="second" class="mr-e0p5">主题2</vi-tag>
				<vi-tag type="third" class="mr-e0p5">主题3</vi-tag>
				<vi-tag type="fourth" class="mr-e0p5">主题4</vi-tag>
				<vi-tag type="fifth" class="mr-e0p5">主题5</vi-tag>
			</view>
			<view class="py-sm">
				<vi-tag type="primary" plain class="mr-e0p5">主题1</vi-tag>
				<vi-tag type="second" plain class="mr-e0p5">主题2</vi-tag>
				<vi-tag type="third" plain class="mr-e0p5">主题3</vi-tag>
				<vi-tag type="fourth" plain class="mr-e0p5">主题4</vi-tag>
				<vi-tag type="fifth" plain class="mr-e0p5">主题5</vi-tag>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.response{
	display: if($useResponse, inline, none);
}
.noresponse{
	display: if($useResponse, none, inline);
}
</style>
